import {request} from "./request";

// 获取一言堂数据
export function get_hitokoto(){
  return request({
    url: 'https://v1.hitokoto.cn',
    method: 'get',
  })
}

// 获取首页图片数据
export function get_home_images(){
  return request({
    url: 'https://bird.ioliu.cn/v1/?url=https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=8',
    // url: 'https://cn.bing.com/HPImageArchive.aspx?format=js&idx=0&n=8',
    method: 'get',
  })
}